<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script src="./index.js"></script>
  <script>
    const proxyUser1 = shallowReactive({
      name: '小明',
      car: {
        color: 'red'
      }
    })
    // proxyUser1.name='小红'
    // proxyUser1.name+='=='
    // proxyUser1.car.color += '=='
    // delete proxyUser1.name

    // const proxyUser2 = reactive({
    //   name: '小明',
    //   car: {
    //     color: 'red'
    //   }
    // })
    // proxyUser2.name='小红'
    // proxyUser2.name+='=='
    // proxyUser2.car.color += '=='
    // delete proxyUser2.name

    console.log(isReactive(reactive({})))
    console.log(isRef(ref({})))
    console.log(isReadonly(readonly({})))
    console.log(isProxy(reactive({})))
    console.log(isProxy(readonly({})))
  </script>
</body>
</html>